home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
earcd
/
utils
/
showamiga96
/
installshowamiga96
< prev
next >
Wrap
Text File
|
1998-01-17
|
16KB
|
577 lines
(set #nohelp "Keine Hilfe verfügbar")
(set #mainpath "C:")
(set #closepath "Sys:WBstartup/")
(set #prefspath "Sys:Prefs/")
(set #dokupath "HELP:")
(set #driverpath "DEVS:Monitors/")
(set #editsseq "c/editsseq ")
;=============================================================================
; English strings
;=============================================================================
(if
(= @language "english")
(
(set #startupmsg1
(cat
"\n\n\nWelcome to ShowAmiga96 V1.2, the somewhat other bootpic-viewer."
"\n\n\n\n\nThis software is subject to the \"Standard Amiga FD-Software Copyright Note\"."
"\nIt is MAILWARE as defined in paragraph 4b."
"\nFor more information please read "AFD-COPYRIGHT" (Version 1 or higher)."
)
)
(set #getpath1 "Please choose directory for the mainprogram (ShowAmiga96)."
)
(set #getpath2 "Please choose directory for the closer (ShowAmiga96_Close)."
)
(set #getpath3 "Please choose directory for the preferences-program (ShowAmiga96_Prefs)."
)
(set #getpath4 "Please choose directory for the documentation."
)
(set #getdoku1 "Which documentations should be copied?"
)
(set #getdoku2 "Textfile"
)
(set #getdoku22 "AmigaGuide"
)
(set #getdoku3 "HTML-directory"
)
(set #copy1 "Copying mainprogram..."
)
(set #copy2 "Copying closer..."
)
(set #copy3 "Copying preferences-program..."
)
(set #copy4 "Copying textfiles..."
)
(set #copy44 "Copying Guide..."
)
(set #copy5 "Copying HTML-directory..."
)
(set #afdfile "Docs/AFD-COPYRIGHT"
)
(set #textfile "Docs/ShowAmiga96_E.txt"
)
(set #guidefile "Docs/ShowAmiga96_E.guide"
)
(set #htmlfile "#?_E.htm#?"
)
(set #getdriver
(cat
"To show the bootpic as early as possible, ShowAmiga96 has to start the "
"Picasso96-monitordriver by itself.\nPlease select the Picasso96-monitordriver."
)
)
(set #startupmsg3 "\nAdjusting ShowAmiga96-basepreferences..."
)
(set #startupmsg4
(cat
"\nThe installation has been completed.\n\nAfter a reset you can "
"enjoy your new bootpic. If problems occur, dont´t hesitate to contact "
"me :-)\n\n"
"Heiko Müller\n"
"Ernst-Reuter-Str. 8\n"
"31275 Lehrte\n"
"Germany\n\n"
"hmueller@online.de"
)
)
(set #startupmsg5
(cat
"\nDo you want to start the prefs-program now?\n\n"
"(It´s recommended to check the installation.)"
)
)
(set #tooltype1 "\nAdjusting prefs-tooltypes..."
)
(set #nodriver1 "\nThe file \""
)
(set #nodriver2 "\" couldn´t be opened! Please select an existing one."
)
(set #workmsg1 "\nEditing startup-sequence..."
)
(set #startupmsg6
(cat
"\nThe installer inserts the ShowAmiga96-call into the startup-sequence. "
"A backup file called \"Startup-Sequence.SA96\" will be created in S:.\n\n"
"If necessary, you can edit the startup-sequence yourself later, but "
"please read the documentation!!!"
)
)
(set #help1
(cat
"\nThe mainprograms part is showing the bootpic from the startup-sequence. "
"Its place should be in c:."
)
)
(set #help2
(cat
"\nThe closer fades out the bootpic and closes the Picasso96-screen. "
"It should be called at the end of WBstartup."
)
)
(set #help3 "\nThe prefs-program should be placed in the Prefs-Drawer."
)
(set #help4
(cat
"\nYou can select the type of documentation (textfile / AmigaGuide-file) which "
"shound be copied. The destination directory will be chosen in the next step."
)
)
(set #help5
(cat
"\nWhile ShowAmiga96 owns no own directory, the documentation-files have to be "
"installed in the system-help-directory."
; If you select the HTML-docs a new "
; "directory (ShowAmiga96) in be created."
)
)
(set #help6
(cat
"\nShowAmiga96 opens its screen before the monitordrivers from DEVS:Monitors are loaded. "
"That´s the reason why ShowAmiga96 has to start the Picasso96-driver itself, all other "
"monitordrivers are loaded a bit later. To pick the correct P96-driver, the installer "
"needs your help."
)
)
(set #help7
(cat
"\nThe installer is able to modifiy the startup-sequence itself. If you have changed the file "
"too much or if you want to start ShowAmiga96 sonetimes later, you can skip this part and enter "
"the call by hand. (Please pay attention to the dokumentation)"
)
)
(set #help8
(cat
"\nEven if you don´t want to change the configuration now, you should start the prefs-program anyway. "
"Simply press the Test-Button and if you get an error-message consult the dokumentation."
)
)
)
)
;=============================================================================
; German strings
;=============================================================================
(if
(= @language "deutsch")
(
(set #startupmsg1
(cat
"\n\n\nWillkommen zu ShowAmiga96 V1.2, dem etwas anderen Bootbild-Anzeiger."
"\n\n\n\n\nDiese Software unterliegt der \"Standard Amiga FD-Software Copyright Note\"."
"\nSie ist MAILWARE wie definiert in Absatz 4b."
"\nFür mehr Informationen lies bitte "AFD-COPYRIGHT" (Version 1 oder höher)."
)
)
(set #getpath1 "Bitte wählen Sie das Verzeichnis für das Hauptprogramm (ShowAmiga96) aus."
)
(set #getpath2 "Bitte wählen Sie das Verzeichnis für das Schließprogramm (ShowAmiga96_Close) aus."
)
(set #getpath3 "Bitte wählen Sie das Verzeichnis für das Einstellungsprogramm (ShowAmiga96_Prefs) aus."
)
(set #getpath4 "Bitte wählen Sie das Verzeichnis für die Anleitung aus."
)
(set #getdoku1 "Welche Anleitungen sollen kopiert werden?"
)
(set #getdoku2 "Textdatei"
)
(set #getdoku22 "AmigaGuide"
)
(set #getdoku3 "HTML-Verzeichnis"
)
(set #copy1 "Kopiere Hauptprogramm..."
)
(set #copy2 "Kopiere Schließprogramm..."
)
(set #copy3 "Kopiere Einstellungsprogramm..."
)
(set #copy4 "Kopiere Textdateien..."
)
(set #copy44 "Kopiere Guide..."
)
(set #copy5 "Kopiere HTML-Verzeichnis..."
)
(set #afdfile "Docs/AFD-COPYRIGHT.de"
)
(set #textfile "Docs/ShowAmiga96_D.txt"
)
(set #guidefile "Docs/ShowAmiga96_D.guide"
)
(set #htmlfile "#?_D.htm#?"
)
(set #getdriver
(cat
"Um möglichst frühzeitig das Bootbild "
"anzeigen zu können, muß ShowAmiga96 das Starten des Picasso96-Monitortreibers selbst "
"übernehmen.\nBitte wählen Sie jetzt den Picasso96-Monitortreiber aus:"
)
)
(set #startupmsg3 "\nPasse ShowAmiga96-Grundeinstellungen an..."
)
(set #startupmsg4
(cat
"\nDie Installation ist jetzt abgeschlossen.\n\nNach einem Neustart können "
"Sie sich an Ihrem neuen Bootbild erfreuen. Sollten Probleme auftreten, "
"so ist sicherlich das entsprechende Kapitel in der Anleitung hilfreich. "
"Ansonsten bin ich ja auch noch da ;-)\n\n"
"Heiko Müller\n"
"Ernst-Reuter-Str. 8\n"
"31275 Lehrte\n\n"
"hmueller@online.de"
)
)
(set #startupmsg5
(cat
"\nMöchten Sie jetzt das Prefs-Programm starten?\n\n"
"(Empfiehlt sich auch zum Testen der Installation.)"
)
)
(set #tooltype1 "\nÄndere Prefs-Tooltypes..."
)
(set #nodriver1 "\nDie angegebene Datei \""
)
(set #nodriver2 "\" existiert nicht! Wählen Sie bitte eine vorhandene Datei."
)
(set #workmsg1 "\nTrage ShowAmiga96-Aufruf in Startup-Sequence ein..."
)
(set #startupmsg6
(cat
"\nDas Installationsprogramm fügt jetzt den ShowAmiga96-Aufruf in die "
"Startup-Sequence ein. Eine Sicherungskopie wird unter dem Namen "
"\"Startup-Sequence.SA96\" in S: angelegt.\n\n"
"Wenn Sie wollen, können Sie die Änderung später auch von Hand vornehmen, "
"aber dabei unbedingt die Anleitung beachten!!!"
)
)
(set #ask
(cat
"\nMöchten Sie jetzt das Prefs-Programm starten?\n\n"
"(Empfiehlt sich auch zum Testen der Installation.)"
)
)
(set #help1
(cat
"\nDas Hauptprogramm wird vorzugsweise in der Startup-Sequence aufgerufen und "
"übernimmt das Anzeigen des Bildes. Normalerweise wird es in C: kopiert."
)
)
(set #help2
(cat
"\nDas Schließprogramm blendet das Bootbild aus und schließt den Picasso96-Bildschirm. "
"Es wird normalerweise am Ende des Bootvorgangs aus der WBstartup-Schublade gestartet."
)
)
(set #help3
(cat
"\nMit dem Prefs-Programm können verschiedene Einstellungen am Hauptprogramm vorgenommen "
"werden. Die Prefs-Schublade der Workbench ist der geeignete Platz."
)
)
(set #help4
(cat
; "\nSie können wählen, ob Sie die Anleitung als Textdatei, im AmigaGuide-Format oder "
; "das komplette HTML-Verzeichnis kopieren möchten. Die Frage nach dem Zielverzeichnis "
; "folgt im nächsten Schritt."
"\nSie können wählen, ob Sie die Anleitung als Textdatei oder im AmigaGuide-Format "
"kopieren möchten. Die Frage nach dem Zielverzeichnis folgt im nächsten Schritt."
)
)
(set #help5
(cat
"\nDa ShowAmiga96 kein eigenes Verzeichnes besitzt, muß die Anleitung in das "
"allgemeine Hilfeverzeichnis des Systems kopiert werden. Wenn die HTML-Anleitung "
"ausgewählt wurde, wird ein eigenes Verzeichnis (ShowAmiga96) angelegt."
)
)
(set #help6
(cat
"\nShowAmiga96 öffnet seinen Bildschirm normalerweise fast am Anfang der Startup-Sequence, "
"zu einem Zeitpunkt, an dem die Monitortreiber aus DEVS:Monitors noch nicht geladen wurden. "
"Deshalb startet ShowAmiga96 vor dem Öffnen des Bildschirms selbst den Picasso96-Treiber. Alle "
"anderen werden ganz normal etwas später aktiviert. Um aus der Vielzahl der möglichen P96-Monitor"
"treiber den richtigen herauszufinden, ist der Installer auf Ihre Hilfe angewiesen."
)
)
(set #help7
(cat
"\nFür gewöhnlich wird ShowAmiga96 am Anfang der Startup-Sequence gestartet. Der Installer "
"kann den Aufruf selbst in die Datei eintragen. Wenn Sie die Startup-Sequence stark verändert "
"haben oder ShowAmiga96 an einer anderen Stelle starten wollen, können Sie diesen Teil überspringen "
"und später nach Anleitung den Aufruf per Hand eintragen."
)
)
(set #help8
(cat
"\nSelbst wenn Sie die Einstellungen von ShowAmiga96 jetzt noch nicht ändern wollen, so sollten"
"Sie trotzdem das Prefs-Programm starten und nur die Test-Funktion ausprobieren. Wenn die fehlerfrei "
"abläuft, sollten auch beim Bootvorgang keine Probleme auftreten. Ansonsten wird die erscheinende "
"Fehlermeldung Hinweise auf die mögliche Ursache liefern."
)
)
)
)
;=============================================================================
; Los geht´s
;=============================================================================
(complete 0)
(message #startupmsg1
(all)
)
(welcome)
;=============================================================================
; Installationspfade einholen
;=============================================================================
(complete 5)
(set #mainpath
(askdir (prompt #getpath1)
(help #help1)
(default #mainpath)
)
)
(complete 10)
(set #closepath
(askdir (prompt #getpath2)
(help #help2)
(default #closepath)
)
)
(complete 15)
(set #prefspath
(askdir (prompt #getpath3)
(help #help3)
(default #prefspath)
)
)
;=============================================================================
; nach Anleitungen fragen
;=============================================================================
(complete 20)
(set #whichdoku
(askoptions
(help #help4)
(prompt #getdoku1)
(choices #getdoku2 #getdoku22)
(default %010)
)
)
(complete 25)
(if #whichdoku
(set #dokupath
(askdir (prompt #getpath4)
(help #help5)
(default #dokupath)
)
)
)
;=============================================================================
; Programme kopieren
;=============================================================================
(complete 30)
(copyfiles
(prompt #copy1)
(source "C/ShowAmiga96")
(dest #mainpath)
(infos)
(noposition)
)
(complete 35)
(copyfiles
(prompt #copy2)
(source "WBstartup/ShowAmiga96_Close")
(dest #closepath)
(infos)
(noposition)
)
(complete 40)
(copyfiles
(prompt #copy3)
(source "Prefs/ShowAmiga96_Prefs")
(dest #prefspath)
(infos)
(noposition)
)
;=============================================================================
; Hauptprogramm in Prefs-Tooltypes eintragen
;=============================================================================
(complete 45)
(set #prefspath (tackon #prefspath "ShowAmiga96_Prefs"))
(set #mainpath (tackon #mainpath "ShowAmiga96"))
(tooltype
(prompt #tooltype1)
(help #help5)
(settooltype "MAINPRG" #mainpath)
(dest #prefspath)
)
;=============================================================================
; Textdateien kopieren
;=============================================================================
(complete 50)
(if(IN #whichdoku 0)
(
(copyfiles
(prompt #copy4)
(source #textfile)
(dest #dokupath)
(infos)
(noposition)
)
(complete 53)
(copyfiles
(prompt #copy4)
(source #afdfile)
(dest #dokupath)
(infos)
(noposition)
)
)
)
;=============================================================================
; Guide kopieren
;=============================================================================
(complete 50)
(if(IN #whichdoku 1)
(
(copyfiles
(prompt #copy44)
(source #guidefile)
(dest #dokupath)
(infos)
(noposition)
)
(complete 56)
(copyfiles
(prompt #copy44)
(source #afdfile)
(dest #dokupath)
(infos)
(noposition)
)
)
)
;=============================================================================
; HTML-Dateien kopieren
;=============================================================================
(complete 60)
(if(IN #whichdoku 3)
(
(set #dokupath (tackon #dokupath "ShowAmiga96"))
(copyfiles
(prompt #copy5)
(source "docs/")
(pattern #htmlfile)
(dest #dokupath)
(infos)
(noposition)
)
(complete 65)
(copyfiles
(prompt #copy5)
(source "Docs/")
(pattern "#?.png")
(dest #dokupath)
(infos)
(noposition)
)
)
)
;=============================================================================
; nach Moni-Driver fragen
;=============================================================================
(complete 70)
(while (OR (= (fileonly(#driverpath)) "") (NOT #driverok))
(
(set #driverpath
(askfile (prompt #getdriver)
(help #help6)
(default #driverpath)
)
)
(set #driverok (exists #driverpath (noreq)))
(if (NOT #driverok)
(message (cat #nodriver1 #driverpath #nodriver2) (all))
)
)
)
;=============================================================================
; Prefs starten und Grundeinstellungen eintragen
;=============================================================================
(complete 80)
(set #prefsini (cat #prefspath " " #mainpath " " #driverpath))
(working #startupmsg3)
(run #prefsini
(prompt #startupmsg3)
)
;=============================================================================
; ShowAmiga96 in Startup-sequence eintragen
;=============================================================================
(complete 90)
(working #workmsg1)
(set #editsseq (cat #editsseq #mainpath))
(run #editsseq
(prompt #startupmsg6)
(help #help7)
(confirm)
)
;=============================================================================
; Prefs starten und Installation verlassen
;=============================================================================
(complete 100)
(message #startupmsg4
(all)
)
(set #prefsfile (cat "run >nil: " #prefspath " " #mainpath))
(run #prefsfile
(prompt #startupmsg5)
(help #help8)
(confirm)
)
(exit (quiet))